<ion-content>
    <ion-navbar>
      <ion-title>忘记密码</ion-title>
    </ion-navbar>
  
    <div class="box">
      <div class="border-phone">
        <input type="number" placeholder="手机号" [(ngModel)]="tel" minlength="11" maxlength="11" (blur)="blurInput()">
      </div>
      <div class="border-code">
        <div class="border-code-input">
          <input type="number" placeholder="验证码" [(ngModel)]="code" minlength="6" maxlength="6">
        </div>
        <div class="border-code-time">
          <button *ngIf="!isShow" disabled>{{count}}秒后获取</button>
          <button *ngIf="isShow" (click)="setCode()">获取验证码</button>
        </div>
      </div>
      <div class="border-password">
        <input type="password" placeholder="新密码" minlength="8" maxlength="16" [(ngModel)]="password">
      </div>
      <div class="border-password">
        <input type="password" placeholder="确认密码" minlength="8" maxlength="16" [(ngModel)]="repassword">
      </div>
      <div class="border-login">
        <button  (tap)="gotoUpDataInfo()">完成</button>
      </div>
    </div>
  </ion-content>
  